package com.gopay.solution.manager;


import java.util.List;

import com.gopay.solution.domain.po.SsApSolutionRel;
import com.gopay.solution.domain.po.SsCapSolutionRel;
import com.gopay.solution.domain.vo.Solution;

/**
 * 客户产品与方案关系
 * @SsApSolutionRelManager.java
 * @author caoyongfeng
 * @2013-8-1 下午2:08:39  www.gopay.com.cn Inc.All rights reserved.
 */
public interface SsCapSolutionManager {
	/**
     * 查询客户产品特定方案关系
     * @param acctProdCode
     * @param solutionType
     * @return
     */
	List<SsCapSolutionRel> findRelByCustId(String custId, String solutionType);
	
	
	SsCapSolutionRel findRelByCustId(String custId, String prodCode,String solutionType);
	
	SsCapSolutionRel saveRelAndChild(SsCapSolutionRel rel, Solution s);
	
	void updateSolutionChild(Solution s, String solutionType);
	
	void deleteRelAndChild(SsCapSolutionRel rel, String solutionType);
    
}
